#include "TcpServer.hpp"
#include "CommandExec.hpp"


int main()
{
    Command com;
    std::unique_ptr<TcpServer> svr_uptr = std::make_unique<TcpServer>(
        [&com](std::string cmdstr){
            return com.Execute(cmdstr);
        }
    );
    svr_uptr->InitServer();
    svr_uptr->Start();

    return 0;
}